#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>

int main()
{
	int n = 0;
	while(scanf("%d", &n)!=EOF)
	{
		int i = 0;
		int k = 0;
		for(k=0;k<n;k++)
		{
			for (i = 0; i < (n - k - 1); i++)
				printf("  ");
			for (i = 0; i <= k; i++)
				printf("* ");
			printf("\n");
		}
	}
	return 0;
}

